package com.jic.veteran.common.util;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.IdUtil;

import java.util.Date;

public class GenerateUtil {

    public static String genProjectId() {
        return "P"+DateUtil.date().toString("yyyyMMdd")+IdUtil.fastSimpleUUID().toUpperCase().substring(10);
    }

    public static void main(String[] args) {
        System.out.println(genProjectId());
    }
}
